<?php
namespace App\Request;

use App\Request\Request;

class MallGoodsRequest extends Request
{
    // 规则
    public function rules(): array
    {
        return [
            'mall_id'       =>  'required',
            'name'          =>  'required',
            'images'        =>  'required|array',
            'count'         =>  'required',
            'content'       =>  'required',
            'money_pay'     =>  'required',
            'money_shop'    =>  'required',
            'money_point'   =>  'required',
            'money_express' =>  'required',
            'express_append'=>  'required',
            'day'           =>  'required',
            'day_count'     =>  'required'
        ];
    }
}